namespace Cos.Core.NHibernate.Mapping
{
    using FluentNHibernate.Mapping;

    public class SubmissionValueItemMap : ClassMap<SubmissionValueItemDataModel>
    {
        public SubmissionValueItemMap()
        {
            this.Table("Submission_Value_Item");
            this.LazyLoad();
            this.Id(x => x.Id).GeneratedBy.Native().Column("ID");
            this.Map(x => x.SubmissionValueId).Not.Nullable().Column("Submission_Value_ID");
            this.Map(x => x.Value).Column("Value");
        }
    }
}